package com.guoshengdeu.door.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guoshengdeu.door.entity.ConfigVideo;
import com.guoshengdeu.door.entity.VoConfigVideo;
import com.guoshengdeu.door.entity.VoConfigVideoBase;
import com.guoshengdeu.door.entity.VoConfigVideoSchool;
import com.guoshengdeu.door.entity.VoConfigVideoCatalog;

import java.util.List;

public interface ConfigVideoMapper extends BaseMapper<ConfigVideo> {

//    @Select("select video_catalog distinct from 'config_video' ${ew.customSqlSegment}")
    //去重查询分类
    List<VoConfigVideoCatalog> selectVideoCatalog();

    //去重查询基地
    List<VoConfigVideoBase> selectVideoBase();

    //去重查询学校
     List<VoConfigVideoSchool> selectVideoSchool();

    //去重查询id、类别、名称
    List<VoConfigVideo> selectICN();
}
